Method of and apparatus for automatically correcting device model, and computer product

ABSTRACT

The apparatus comprises the syntax checking section that checks the syntax of a device model according to a check table showing the relation between the syntax of the device model showing electrical characteristics of a semiconductor device and an amendment when deviating from the syntax. The syntax error amendment creating section corrects the device model according to a corresponding amendment when a description deviating from the syntax is checked by the syntax checking section.

FIELD OF THE INVENTION

[0001] The present invention relates to a technology for checking and automatically correcting a device model used for a transmission simulation on a printed circuit board.

BACKGROUND OF THE INVENTION

[0002] Recently, each of many electronic makers receives a semiconductor device and a device model obtained by modeling the semiconductor device from a semiconductor vendor and performs circuit design and transmission simulation of a printed circuit board to be mounted on an electronic device. Moreover, though a spice model and an IBIS (Input/output Buffer Information Specification) model are publicly known as device models, the latter IBIS model is mainstream.

[0003] Therefore, most electronic makers respectively perform circuit design and transmission simulation of a printed circuit board using a semiconductor device according to an IBIS model received from a semiconductor vendor. However, when checking by a semiconductor vendor is not strict, an IBIS model in which many errors are included in description syntax or various parameters is supplied to an electronic maker. Therefore, a problem occurs that a trouble occurs in a printed circuit board concerned serving as an actual model even if there is no problem in circuit design and transmission simulation. Therefore, unit and a method for effectively solving the above problem have been earnestly desired so far.

[0004] The spice model serving as a device model is used to show circuit operations to a designer by simulating the circuit operations by a computer without forming an actual circuit on a printed circuit board and show a process parameter or configuration of a circuit. Therefore, when supplying the spice model to an electronic maker, the process parameter and configuration of a circuit included in the company secret of a semiconductor vendor is opened to the public and thereby, a state undesirable for the semiconductor vendor occurs.

[0005] However, the IBIS model shows input/output characteristics of a semiconductor device, in which the package characteristic, V/I (voltage/current) characteristic, and switching characteristic of the semiconductor device are described in the form of a table.

[0006] Therefore, when supplying the IBIS model to an electronic maker, advantages are obtained that the process parameter and configuration of a circuit included in the company secret of a semiconductor vendor are not opened to the public and moreover, the information necessary for circuit design and transmission simulation is obtained by an electronic maker side. Therefore, the IBIS model is conventionally mainstream as a device model to be supplied to an electronic maker from a semiconductor vendor.

[0007]FIG. 29 and FIG. 30 are illustrations showing an IBIS file F0 showing the IBIS model. As shown in FIG. 29 and FIG. 30, the IBIS file F0 is constituted of header data and part data. Moreover, the part data includes pin model data.

[0008] The header data includes the data for the file name, date, and version and the like about the IBIS file F0. Specifically, in the case of the header data shown in FIG. 29, the version of an IBIS is described in [IBIS Ver] and comment characters are described in [Comment Char]. The file name of the IBIS file F0 is described in [File Name] and the revision level of the IBIS file F0 is described in [File Rev]. The creation date of the IBIS file F0 is described in [Date].

[0009] The creation source of the IBIS file F0 is described in [Source] and notes about the IBIS file F0 are described in [Notes]. The information about disclaimer of right is described in [Disclaimer] and the information about copyright is described in [Copyright].

[0010] Moreover, in the case of the part data shown in FIG. 29, the formal type name of the semiconductor device concerned is described in [Component] and the information about the manufacturer of the semiconductor device concerned is described in [Manufacturer]. Values such as the RLC (resistance value, inductance, and capacitance) of the default of the package section of a semiconductor device are described in [Package] and the information about relating of an I/O model with an external pin and a signal name is described in [Pin].

[0011] Moreover, in the case of the pin model data, the definition of a pin model is described in [Model]. The definition starts with [Model] and is described up to the next [Model] (not shown) or [End] (refer to FIG. 30). The information about the model type of a pin is described in [Model_type] and the information about electrical polarities (Non-Inverting or Inverting) is described in [Polarity].

[0012] The information for designating active high or active low (Active-High or Active-Low) is described in [Enable]. The upper limit of an input low-level voltage is described in [Vinl] and the lower limit of an input high-level voltage is described in [Vinh] . A measurement reference voltage value for measuring the propagation delay and output switching time of a semiconductor device is described in [Vmeas].

[0013] The circuit configuration information (capacitance value, resistance value, and voltage value) for measuring the propagation delay and output switching time of a semiconductor device is described in [Cref], [Rref], and [Vref] . The capacitance value of a silicon die is described in [C_comp] . The operating temperature of a semiconductor device is described in [Temperature Range]. The supply voltage value for measuring [Pullup] and [Power clamp] (refer to FIG. 30) to be described later is described in [Voltage range].

[0014] The V/I (voltage/current) characteristic of a pulled-down output buffer is described in [Pulldown] shown in FIG. 30 and the V/I (voltage/current) characteristic of a pulled-up output buffer is described in [Pullup]. The V/I characteristic of a grounded clamp diode is described in [GND_clamp]. The V/I characteristic of a clamp diode connected to a power supply is described in [Power_clamp].

[0015] The rise time (dV/dt_r) and fall time (dV/dt_f) of an output pin voltage are described in [Ramp]. dV is equal to 20 to 80% of the amplitude of an output pin voltage dt denotes the time consumed for 20 to 80%. [End] is described in the end of the IBIS file concerned.

[0016] A semiconductor vendor converts the spice model to the IBIS model by using a conversion tool and supplies the IBIS file F0 corresponding to the IBIS model to an electronic maker. The electronic maker executes circuit design and transmission simulation by using the IBIS file F0.

[0017] As described above, an IBIS model including trouble information may be conventionally supplied to an electronic maker due to erroneous setting of or insufficient checking by a conversion tool when converting a spice model to an IBIS model.

[0018] In this case, because an electronic maker executes circuit design and transmission simulation by using an IBIS model including trouble information, a critical problem occurs that a trouble occurs in a printed circuit board serving as an actual model.

[0019] In this case, to solve the above problem, it is considered that the electronic maker checks the trouble of the IBIS model and corrects the trouble information. However, an advanced user skill well-versed in an IBIS model is requested for the checking and correction of the trouble information.

[0020] Therefore, in the case of an electronic maker insufficient in the number of talents having the user skill, it is substantially difficult to perform checking and correction of trouble information and the maker cannot find a trouble until a trouble occurs in a printed circuit board serving as an actual model and then it cannot be helped to take a post-action that the maker requests a semiconductor vendor to specify and correct a defective section of an IBIS model. Therefore, it is conventionally difficult to completely correspond to the needs of designing a printed circuit board in a short period.

SUMMARY OF THE INVENTION

[0021] It is an object of this invention to provide an automatic device model correcting program, an automatic device model correcting apparatus, and an automatic device model correcting method capable of quickly and accurately checking a device model and correcting a defective section without depending on the user skill.

[0022] According to the present invention the description rule of a device model is checked according to a description rule table showing the relation between the description rule of a device model showing the electrical characteristic of a semiconductor device and an amendment when deviating from the description rule, and the device model is corrected according to a corresponding amendment when a description deviating from the checked description rule.

[0023] Other objects and features of this invention will become apparent from the following description with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0024]FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention;

[0025]FIG. 2 is a flow chart for explaining operations of the embodiment shown in FIG. 1;

[0026]FIG. 3 is an illustration showing an IBIS file F01 of the embodiment shown in FIG. 1;

[0027]FIG. 4 is an illustration showing an IBIS file F01 a of the embodiment shown in FIG. 1;

[0028]FIG. 5 is an illustration showing a check table 200 of the embodiment shown in FIG. 1;

[0029]FIG. 6 is an illustration showing a check table 210 of the embodiment shown in FIG. 1;

[0030]FIG. 7 is an illustration showing an IBIS file F02 of the embodiment shown in FIG. 1;

[0031]FIG. 8 is an illustration showing an IBIS file F02 a of the embodiment shown in FIG. 1;

[0032]FIG. 9 is an illustration showing a check table 220 of the embodiment shown in FIG. 1;

[0033]FIG. 10 is an illustration showing an IBIS file F03 of the embodiment shown in FIG. 1;

[0034]FIG. 11 is an illustration showing an IBIS file F03 a of the embodiment shown in FIG. 1;

[0035]FIG. 12 is a flow chart for explaining the each keyword characteristic value checking process shown in FIG. 2;

[0036]FIG. 13 is an illustration showing an IBIS file F04 of the embodiment shown in FIG. 1;

[0037]FIG. 14 is an illustration showing an IBIS file F04 a of the embodiment shown in FIG. 1;

[0038]FIG. 15 is an illustration for explaining the each keyword characteristic value check shown in FIG. 2;

[0039]FIG. 16 is an illustration showing an IBIS file F05 of the embodiment shown in FIG. 1;

[0040]FIG. 17 is an illustration showing an IBIS file F05 a of the embodiment shown in FIG. 1;

[0041]FIG. 18 is an illustration for explaining the data range checking process shown in FIG. 12;

[0042]FIG. 19 is an illustration showing a check table 230 of the embodiment shown in FIG. 1;

[0043]FIG. 20 is an illustration showing an IBIS file F06 of the embodiment shown in FIG. 1;

[0044]FIG. 21 is an illustration showing an IBIS file F06 a of the embodiment shown in FIG. 1;

[0045]FIG. 22 is an illustration for explaining the monotonous increase/decrease checking process shown in FIG. 12;

[0046]FIG. 23 is an illustration showing an IBIS file F07 of the embodiment shown in FIG. 1;

[0047]FIG. 24 is an illustration showing an IBIS file F07 a of the embodiment shown in FIG. 1;

[0048]FIG. 25 is an illustration showing screens 300 and 310 of the embodiment shown in FIG. 1;

[0049]FIG. 26 is an illustration showing a screen 320 of the embodiment shown in FIG. 1;

[0050]FIG. 27 is an illustration showing a screen 330 of the embodiment shown in FIG. 1;

[0051]FIG. 28 is a block diagram showing a modification of the embodiment shown in FIG. 1;

[0052]FIG. 29 is an illustration showing an IBIS file F0; and

[0053]FIG. 30 is an illustration showing another IBIS file F0.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0054] Embodiments of an automatic device model correcting program, an automatic device model correcting apparatus, and an automatic device model correcting method are described below in detail by referring to the accompanying drawings.

[0055]FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention. FIG. 1 illustrates a configuration of an automatic device model correcting apparatus for executing an automatic device model correcting program and an automatic device model correcting method. The automatic device model correcting apparatus is provided for an electronic maker side.

[0056] As shown in FIG. 1, an IBIS input section 10 is used to input an IBIS file having a format same as that of the IBIS file F0 (refer to FIG. 29 and FIG. 30). The IBIS file is supplied from a semiconductor vendor to an electronic maker and serves as a file corresponding to the IBIS model. A controlling section 20 controls various sections of an automatic device model correcting apparatus.

[0057] A storage section 30 is provided with a large capacity storage medium such as a hard disk or an optical disk and stores the IBIS file and the like to be corrected, a check table 200 (refer to FIG. 5), a check table 210 (refer to FIG. 6), a check table 220 (refer to FIG. 9), a check table 230 (refer to FIG. 19), and a corrected IBIS file.

[0058] The check table 200 shown in FIG. 5 is a table used to check the keyword appearance frequency showing whether the keyword appearance frequency for an IBIS file (IBIS model) is equal to a specified frequency and create an amendment when a result of checking the keyword appearance frequency is NG, which is provided with fields of “No.”, “keyword”, “subparameter”, “specified permission frequency”, “error number”, “correspondence to undefined case”, and “correspondence to case of defining frequency exceeding specified frequency”.

[0059] “Keyword” is a term used to check a keyword appearance frequency for an IBIS file such as [Model] (refer to FIG. 29). A subparameters (Model_type, Polarity, . . . , Vref, and other than the above) for defining [Model] are described in “subparameter”.

[0060] A specified subparameter permission (definition) frequency for an IBIS file is described in “specified permission frequency”. An error number when a subparameter for an IBIS file exceeds a permission frequency is described in “error number”. The correspondence when a subparameter to be defined in an IBIS file is not defined is described in “corresponding to undefined case”. The correspondence when a subparameter for an IBIS file exceeds a permission frequency is described in “correspondence when a subparameter for an IBIS file exceeds a permission frequency is described in “correspondence to case of defining frequency exceeding specified frequency”.

[0061] The check table 210 shown in FIG. 6 is a table used to check whether the syntax and characteristic value for an IBIS file (IBIS model) are specified syntax and characteristic value and create an amendment when a check result is NG and provided with fields of “inspection specification”, “error number”, and “correction specification”.

[0062] The specified syntax and characteristic value about subparameters (such as Model_type, Polarity, . . . , Vref (refer to FIG. 29 and FIG. 30)) corresponding to the keyword (=[Model]) (refer to FIG. 29) for an IBIS file are described in “inspection specification”. The error number when a syntax check result for an IBIS file is NG is described in “error number”. The amendment when a check result is NG is described in “correction specification”.

[0063] The check table 220 shown in FIG. 9 is a table used to check whether the syntax and characteristic value about a keyword (=[Pulldown] (refer to FIG. 30)) are specified syntax and characteristic value and create an amendment when a check result is NG and provided with fields of “inspection specification”, “error number” and “correction specification”.

[0064] The syntax and characteristic value of the rule about a keyword (=[Pulldown]) for an IBIS file are described in “inspection specification”. The error number when a syntax check result for an IBIS is NG is described in “error number”. The amendment when a check result is NG is described in “correction specification”.

[0065] The check table 230 shown in FIG. 19 is a table used to check whether the syntax and characteristic value about a keyword (=[GND_clamp] (refer to FIG. 30)) are the specified syntax and characteristic value and create an amendment when a check result is NG, which is provided with fields of “inspection specification”, “error number”, and “correction specification”.

[0066] The syntax and characteristic value of the rule about a keyword (for example, [GNG_clamp]) for an IBIS file are described in “inspection specification”. The error number when a syntax check result for an IBIS file is NG is described in “error number”. The amendment when a check result is NG is described in “correction specification”. The storage section 30 also stores check tables (not shown) corresponding to other keywords ([Temperature Range] and [Voltage rang] and the like.

[0067] In FIG. 1, a keyword appearance frequency checking section 40 checks the keyword appearance frequency in an IBIS file according to the check tables 200 and 210. An appearance frequency error amendment creating section 50 creates an amendment according to the check tables 200 and 210 and the like when a keyword appearance frequency check result is NG.

[0068] A syntax checking section 60 executes the syntax check for an IBIS file according to the check tables 200 and 210 and the like. A syntax error amendment creating section 70 creates an amendment according to the check tables 200 and 210 and the like when a syntax check result is NG. A characteristic value checking section 80 executes the characteristic check for an IBIS file according to the check tables 200 and 210 and the like. A characteristic value amendment creating section 90 creates an amendment according to the check tables 200 and 210 and the like when a characteristic value check result is NG.

[0069] A display section 100 uses a CRT (Cathode-Ray Tube) or an LCD (Liquid Crystal Display) or the like and displays screens 300, 310, 320 and 330 shown in FIGS. 25 to 27 respectively. These screens 300 and 310 and the like display such as IBIS file check results and various texts, and various graphs. Details of the screens 300 and 310 and the like will be described later.

[0070] A check result display controlling section 110 executes the control for displaying an IBIS file check result on the display section 100. A text display controlling section 120 executes the control for displaying various texts on the display section 100. A graph display controlling section 130 executes the control for displaying various graphs on the display section 100.

[0071] An amendment adoption-or-not determining section 140 executes the processing for making an operator determine whether to adopt amendments created by the appearance frequency error amendment creating section 50, syntax error amendment creating section 70, and characteristic value error amendment creating section 90. A finally corrected IBIS output section 150 outputs a finally corrected IBIS file. A bus 160 connects various sections each other.

[0072] Then, operations of the embodiment are explained below by referring to the flow chart shown in FIG. 2. In step SA1, the IBIS input section 10 inputs an IBIS file supplied from a semiconductor vendor to an electronic maker. The IBIS file is stored in the storage section 30. In step SA2, the keyword appearance frequency checking section 40 reads an IBIS file one line by one line from the storage section 30 and checks the keyword appearance frequency according to the check table 200 shown in FIG. 5.

[0073] The following describes the keyword appearance frequency check when the IBIS file F01 shown in FIG. 3 is read in step SA1 in detail. The keyword appearance frequency checking section 40 reads the IBIS file F01 one line by one line to check the appearance of a keyword (=[Model]).

[0074] Then, when the keyword (=[Model]) appears, the keyword appearance frequency checking section 40 checks appearance frequencies of the keyword (=[Model]) and subparameters (=Model type, Polarity, . . . ) until the next keyword (=[Model]) appears. Moreover, the keyword appearance frequency checking section 40 checks whether an undefined subparameter is present in the IBIS file F01.

[0075] Moreover, the keyword appearance frequency checking section 40 stores the subparameter (=Model_type(=I/O)) shown in FIG. 3 in the storage section 30. Then, when the next keyword (=[Model]) appears, the keyword appearance frequency checking section 40 determines whether appearance frequencies of checked subparameters exceed the “specified permission frequency” corresponding to “subparameter” of the check table 200 shown in FIG. 5.

[0076] In this case, though the appearance frequency of a subparameter (=Vmeas) is twice in the IBIS file F01 shown in FIG. 3, the permission frequency of the “subparameter” (=Vmeas) of No. 8 shown in FIG. 5 is zero or one time. Therefore, a subparameter (=Vmeas=1.2V) appearing at the second time is overdefined (error).

[0077] Moreover, the IBIS file F01 shown in FIG. 3 is undefined (error) though the subparameter (=C_comp) of No. 7 shown in FIG. 5 is indispensable.

[0078] In step SA3, the appearance frequency error amendment creating section 50 determines whether an error is present in step SA2. When the determination result is “No”, the processing in step SA5 is executed. In this case, because the overdefined error and undefined error occur in step SA2, the appearance frequency error amendment creating section 50 sets the determination result in step SA3 to “Yes”.

[0079] In step SA4, the appearance frequency error amendment creating section 50 applies an amendment of deleting the overdefined subparameter (=Vmeas=1.2V) to the IBIS file F01 a for temporary correction shown in FIG. 4 (in FIG. 4, “comment out”: deletion) according to the “correspondence to case of defining frequency exceeding specified frequency” of No. 8 in the check table 200 shown in FIG. 5. The IBIS file F01 a is stored in the storage section 30.

[0080] Then, the appearance frequency error amendment creating section 50 stores an error occurrence line number of the IBIS file F01 (in this case, line number of Vmeas=1.2V), a temporary correction line number of the IBIS file F01 a corresponding to the error occurrence number, and the information of an error code obtained from a not-shown error code table in the storage section 30 as error logs about undefined errors. The error code is a code showing an overdefined error.

[0081] Then, the appearance frequency error amendment creating section 50 applies an amendment of adding a typical value of a subparameter (=C_comp) to the IBIS file F01 to the IBIS file F01 a for temporary correction shown in FIG. 4 according to “correspondence to undefined case” of No. 7 in the check table 200 (in FIG. 4, “addition of typical value”).

[0082] Then, the appearance frequency error amendment creating section 50 stores an error occurrence line number (in this case, line number between variable and [Temperature Range]) of the IBIS file F01, a temporary correction line number of the IBIS file F01 a corresponding to the error occurrence line number, and the information of an error code in the storage section 30 as error logs. The error code is a code showing an undefined error.

[0083] In step SA5, the syntax checking section 60 reads an IBIS file from the storage section one line by one line and executes the each keyword syntax checking process every keyword (for example, [Model]).

[0084] The each keyword syntax checking process when the IBIS file F02 shown in FIG. 7 is read in step SA1 is described below in detail. The syntax checking section 60 reads the IBIS file F02 one line by one line. When a keyword (=[Model]) appears, the syntax checking section 60 checks the syntax of the keyword (=[Model]) and subparameters (=Model_type, Polarity, . . . ) according to the check table 210 (for keyword (=[Model])) shown in FIG. 6.

[0085] In this case, it is decided as specified syntax that vinl and vinh are numerical values in “inspection specification” in Item 7 shown in FIG. 6. However, the subparameter (=Vinl=0.7V) in the IBIS file F02 shown in FIG. 7 is a syntax error because the parameter includes the alphabet O.

[0086] Moreover, in “inspection specification” in Item 9 shown in FIG. 6, it is decided that the typ value of C_comp is a numerical value. However, the subparameter (=C_comp=NA) in the IBIS file F02 shown in FIG. 7 is a syntax error because the parameter is shown by a character string NA.

[0087] In step SA6, the syntax error amendment creating section 70 determines in step SA5 whether an error is present. When the determination result is “No”, the processing in step SA8 is executed. In this case, because the error occurs in step SA6, the syntax error amendment creating section 70 sets the determination result in step SA6 to “Yes”.

[0088] In step SA7, the syntax error amendment creating section 70 applies an amendment of deleting the subparameter (=Vinl=0.7V) to the IBIS file F02 a for temporary correction shown in FIG. 8 (in FIG. 8, “comment out”: deletion) according to “correction specification” in Item 7 in the check table 210 shown in FIG. 6 about the syntax error that the alphabet O is included in the subparameter (=Vinl=0.7V) shown in FIG. 7. The IBIS file F02 a is stored in the storage section 30.

[0089] Then, the syntax error amendment creating section 70 stores an syntax error occurrence line number (in this case, line number of Vinl=0.7V) of the IBIS file F02, a temporary correction line number of the IBIS file F02 a corresponding to the line number, and the information-of an error code in the storage section 30 as error logs about the syntax error. The error code is a code showing the syntax error.

[0090] Then, the syntax error amendment creating section 70 applies an amendment of changing the character string NA of the subparameter (=C_comp) to a typical value according to “correction specification” in Item 9 of the check table 210 shown in FIG. 6 about the syntax error that typ value of C_comp is the character string NA to the IBIS file F02 a for temporary correction shown in FIG. 8 (in FIG. 8, “type value is changed to typical value”).

[0091] Then, the syntax error amendment creating section 70 stores an error occurrence line number (in this case, line number of C_comp) of the IBIS file F02, a temporary correction line number of the IBIS file F02 a corresponding to the line number, and the information of an error code in the storage section 30 as error logs. The error code is a code showing the syntax error.

[0092] Moreover, as another example of syntax check, syntax check when the IBIS file F03 shown in FIG. 10 is read in step SA1 is described below in detail. The syntax checking section 60 reads the IBIS file F03 one line by one line. When a keyword (=[Model]) appears, the syntax checking section 60 checks the syntax about a keyword (=[Pulldown]) according to the check table 220 (for keyword (=[Pulldown]) shown in FIG. 9.

[0093] In this case, though it is decided as a specified syntax in “inspection specification” in Item 9 shown in FIG. 9 that the number of numerical data value sets (typ) other than the character string NA about the keyword (=[Pulldown]) ranges 2 and 100 sets, the number of numerical data sets about the keyword (=[Pulldown]) in the IBIS file F03 shown in FIG. 10 is decided as 102 sets. Therefore, this is a syntax error. That is, in the case of the example shown in FIG. 10, two sets of numerical data values are in excess.

[0094] In step SA6, the syntax error amendment creating section 70 determines whether an error is present in step SA5. In this case, the section 70 sets the determination result to “Yes”. In step SA7, the syntax error amendment creating section 70 applies an amendment of changing a set of numerical data values (0.201506, 0.121221, and 0.307612) on the first line from the bottom and a set of numerical data values (0.201063, 0.120931 and 0.306966) on the third line from the bottom shown in FIG. 11 to a character string NA according to “correction specification” in Item 9 in the check table 220 shown in FIG. 9 about the syntax error to the IBIS file F03 a for temporary correction shown in FIG. 11. The IBIS file F03 a is stored in the storage section 30.

[0095] Then, the syntax error amendment creating section 70 stores syntax error occurrence line numbers (first line number and third line number from the bottom) in the IBIS file F03, temporary correction line numbers in the IBIS file F03 a corresponding to the line numbers, and the information of error codes of the line numbers in the storage section 30 as error logs about the syntax error. These error codes are codes respectively showing the syntax error of each of the line numbers.

[0096] In step SA8 shown in FIG. 2, the characteristic value checking section 80 executes each keyword characteristic value check for checking a characteristic value for each keyword of an IBIS file. Specifically, in step SB1 shown in FIG. 12, the characteristic value checking section 80 reads an IBIS file from the storage section 30 one line by one line to check whether the various size relation between characteristic values is correctly defined every keyword.

[0097] Hereafter, checking of whether typ value, min value, and max value of [Model] as keyword, and [C_comp] as characteristic values (refer to FIG. 29) are kept in the relation of min value≦typ value≦max value is described in detail. In this case, it is assumed that the following characteristic values are defined for [C_comp]. typ min Max Before correction [C_comp] 10 15 20

[0098] In this case, the characteristic value checking section 80 determines the relation of typ value (=10)<min value (=15) as a various size relation error according to Item 11 in the check table 210 shown in FIG. 6. In step SB2, the characteristic value error amendment creating section 90 determines whether the check result in step SB1 is OK. When the determination result is “Yes”, the processing in step SB4 is executed. In this case, the characteristic value error amendment creating section 90 sets the determination result in step SB2 to “No”.

[0099] In step SB3, the characteristic value error amendment creating section 90 applies an amendment of replacing the typ value (=10) and min value (=15) of [C_comp] in the normal order as shown below to an IBIS file for temporary correction (not shown). typ min Max After correction [C_comp] 10 15 20

[0100] Then, the characteristic value error amendment creating section 90 stores a various size relational error occurrence line number of an IBIS file, a temporary correction number of an IBIS file for temporary correction corresponding to the number, and the information for an error code in the storage section 30 as error logs about the various size relation. The error code is a code showing the various size relation.

[0101] In step SB4, the characteristic value checking section 80 reads an IBIS file from the storage section 30 one line by one line to check whether the typ value serving as a characteristic value corrected in step SB3 is kept in a predetermined numerical value range.

[0102] In this case, the characteristic value checking section 80 determines the corrected typ value (=15) as a typ value error according to Item 12 in the check table 210 shown in FIG. 6 because the value is out of a predetermined numerical value range (for example, 0 to 10). In step SB5, the characteristic value error amendment creating section 90 determines whether the check result in step SB4 is OK. When the determination result is “Yes”, the processing in step SB7 is executed. In this case, the characteristic value error amendment creating section 90 sets the determination result in step SB5 to “No”.

[0103] In step SB6, the characteristic value error amendment creating section 90 changes the typ value (=15) of [C_comp] to a previously defined typical value (for example, 5) and applies an amendment of changing the min value and max value to a character string NA to an IBIS file for temporary correction (not shown). typ min max After correction [C_comp] 5 NA NA

[0104] Then, the characteristic value error amendment creating section 90 stores a typ value error occurrence line number of an IBIS file, a temporary correction line number of an IBIS file for temporary correction corresponding to the line number, and the information of an error code in the storage section 30 as error logs about the typ value error. The error code is a code showing the typ value error.

[0105] In step SB7, the characteristic value checking section 80 reads an IBIS file from the storage section 30 one line by one line to check according to a check table whether the min value and max value serving as characteristic values of [C_comp] are kept in a predetermined numerical value range.

[0106] In this case, it is assumed that the following characteristic values are defined for [C_comp]. typ min max Before correction [C_comp] 8 5 20

[0107] The characteristic value checking section 80 determines the max value (=20) as a max value error according to Item 13 in the check table 210 shown in FIG. 6 because it is out of a predetermined numerical value range (for example, 0 to 10). In step SB8, the characteristic value error amendment creating section 90 determines whether the check result in step SB7 is OK. When the determination result is “Yes”, the processing in step SB8 is executed. In this case, the characteristic value error amendment creating section 90 sets the determination result in step SB8 to “No”.

[0108] In step SB9, the characteristic value error amendment creating section 90 applies an amendment of changing a value (in this case, max value) when a check result is NG as shown below to a character string NA to an IBIS file for temporary correction (not shown). typ min max After correction [C_comp] 8 5 NA

[0109] Then, the characteristic value error amendment creating section 90 stores a max value occurrence line number of an IBIS file, a temporary correction line number of an IBIS file for temporary correction corresponding to the line, and the information of an error code in the storage section 30 as error logs about the errors. The error code is a code showing the max value error.

[0110] Moreover, as another example, a case of checking [Ramp] as a keyword and dV/dt_f as a characteristic value is described below by referring to FIGS. 13 and 14. In this case, in step SB4, the characteristic value checking section 80 reads the IBIS file F04 shown in FIG. 13 from the storage section 30 one line by one line to check whether the typ value serving as a characteristic value corrected in step SB3 is kept in a predetermined numerical value range according to the following check table. Check table about [ramp] Inspection Error Correction Item specification number specification 6 Is typ value of CE88 When value of dV is not dV/dt_f a positive positive value, value other than 0 change value of dV to value obtained from Pulldown and R_load. 7 Are min and max Change to NA. values of dV/dt_f positive value other than 0

[0111] In this case, the characteristic value checking section 80 determines the typ value (dV) of dV/dt_f of the keyword (=[ramp]) in FIG. 13 as a typ value error according to Item 6 in the check table because the typ value (dV) is equal to 0.0000E+00. In step SB5, the characteristic value error amendment creating section 90 sets the determination result to “No”.

[0112] In step SB6, the characteristic value error amendment creating section 90 plots V/I characteristics in [Pulldown] shown in FIG. 13, that is, Voltage and I (typ) as shown in FIG. 15. In FIG. 15, x-axis corresponds to the Voltage and y-axis corresponds to I (typ). Then, in the graph shown in FIG. 15, the characteristic value error amendment creating section 90 draws a straight line of the load R_load (when there is no definition in an IBIS file, 50 Ω is used) from [Voltage Range]=3.3 V shown in FIG. 13 to obtain the difference between the voltage at the intersection (=0.6V) and the [Voltage Range]=3.3V as a voltage amplitude (=2.7V).

[0113] Then, the characteristic value error amendment creating section 90 applies an amendment of changing the typ value (dt) of [dV/dt_f] shown in FIG. 13 to the value equal to 60% of the voltage amplitude (2.7×0.6=1.62V) to the IBIS file F04 a for temporary correction shown in FIG. 14.

[0114] Then, the characteristic value error amendment creating section 90 stores a typ value error occurrence line number of the IBIS file F04, a temporary correction line number of the IBIS file F04 a for temporary correction corresponding to the line, and the information of an error code in the storage section 30 as error log about the type value error. The error code is a code showing the type value error.

[0115] In step SB7, the characteristic value checking section 80 reads the IBIS file F04 shown in FIG. 13 from the storage section 30 one line by one line to check min and max values serving as characteristic values of the [ramp] according to the check table about the [ramp].

[0116] In this case, the characteristic value checking section 80 determines min and max values as min value and max value errors because dV of the min value and that of the max value respectively show 0.0000E+00. In step SB8, the characteristic value error amendment creating section 90 sets the determination result to “No”.

[0117] In step SB9, the characteristic value error amendment creating section 90 applies an amendment of changing the min and max values of [dV/dt_f] shown in FIG. 13 to a character string NA to the IBIS file F04 a for temporary correction shown in FIG. 14.

[0118] Then, the characteristic value error amendment creating section 90 stores the min value and max value errors occurrence line number of the IBIS file F04, a temporary correction line number of the IBIS file F04 a corresponding to the line number, and the information of error codes in the storage section 30 as error logs about the min value and max value errors. The error codes are codes showing the min value and max value errors.

[0119] In step SB10 shown in FIG. 12, the characteristic value checking section 80 reads an IBIS file from the storage section 30 one line by one line to check whether the data range of characteristic values is properly defined according to a check table. The case of [GND_clamp] shown in FIG. 16 is described below.

[0120] In this case, the characteristic value checking section 80 determines a data range error because a voltage is defined to be 3.3 V or higher and −3.3 V or lower in Items 5 and 6 of the check table 230 (for [GND_clamp]) shown in FIG. 19 but the voltage (=Voltage) of [GND_clamp] shown in FIG. 16 ranges between −0.6V and 3.3V. That is, in the case of the example shown in FIG. 16, voltages from −3.3 V up to −0.6V are undefined.

[0121] Instep SB11, the characteristic value error amendment creating section 90 determines whether the check result in step SB10 is OK. When the determination result is “Yes”, the processing in step SB13 is executed. In this case, the characteristic value error amendment creating section 90 sets the determination result in step SB11 to “No”.

[0122] In step SB12, the characteristic value error amendment creating section 90 obtains gradients between two points of current I (typ), current I (min), and current I (max) corresponding to Voltage=−0.6V and −0.5V shown in FIG. 16. Then, as shown in FIG. 18, the characteristic value error amendment creating section 90 extends the current I (typ), current I (min), and current I (max) according to the gradients of them, obtains current I (typ), current I (min) and current I (max) corresponding to voltage=−3.3V, and applies an amendment of interpolating these currents to the IBIS file F05 a for temporary correction shown in 17.

[0123] Then, the characteristic value error amendment creating section 90 stores an error occurrence line number of the IBIS file F05, a temporary correction line number of the IBIS file F05 a corresponding to the line number, and the information of an error code in the storage section 30 as error logs about the data range error. The error code is a code showing the data range error.

[0124] In step SB13, the characteristic value checking section 80 reads an IBIS file from the storage section 30 one line by one line to check whether a characteristic value monotonously increases or decreases according to a check table. The case of [GND_clamp] shown in FIG. 20 is described below in detail.

[0125] In this case, the characteristic value checking section 80 executes monotonous increase/decrease check according to Item 11 of the check table 230 (for [GND_clamp]) shown in FIG. 19. Specifically, the characteristic value checking section 80 determines the entire increase/decrease direction according to the V/I characteristic shown in FIG. 20, that is, both-end data values of Voltage and I (typ) Voltage I (typ) First data (Fifth line) 3.30 0.0 mA First data (Fifty-third line) −3.30 −150.10 mA

[0126] In the case of the above example, the characteristic value checking section 80 determines that both voltage and current tend to decrease. Then, as shown in FIG. 22, the characteristic value checking section 80 checks whether the voltage monotonously increases and decreases toward the both sides from a start point which is the closest point.

[0127] Then, as shown in FIG. 22, the characteristic value checking section 80 check whether the voltage monotonously increases or decreases toward the direction from in which the voltage rises from the start point. In this case, when the current increase/decrease direction between a noticed point and the next point is opposite to the whole increase/decrease direction, the characteristic value checking section 80 sets a monotonous increase/decrease result to NG.

[0128] Instep SB14, the characteristic value error amendment creating section 90 determines whether the check result in step SB13 is OK. When the determination result is “Yes”, the section 90 executes the processing in step SB16.

[0129] However, when the determination result in step SB14 is “No”, the section 90 executes the processing for correcting an error according to the following conditions 1 and 2. Though the start point shown in FIG. 22 serves as a first noticed point, a current change from the preceding point is assumed as 0.

[0130] (Condition 1) Current change between noticed point and preceding point<current change between noticed point and next point

[0131] Correct the current value at the next point to the current value at the noticed point.

[0132] (Condition 2) Current change between noticed point and preceding point>Current change between noticed point and next point

[0133] Correct the current value at the noticed point to the next current value.

[0134] For example, when checking is performed toward the direction in which a voltage rises from a start point, this case corresponds to the (condition 1) as described below. Therefore, the fifth-line current I (typ) is corrected as shown below. Voltage I (typ) Sixth-line data (Noticed point) 0.00 5.242E-07 Fifth-line data (Next point) 3.30 0.0 mA Fifth-line data (After 3.30 5.242E-07 correction)

[0135] Then, the characteristic value error amendment creating section 90 applies an amendment of correcting data so that it monotonously increases or decreases to the IBIS file F06 for temporary correction shown in FIG. 21. Then, the section 90 stores an error occurrence line number of the IBIS file F06, a temporary correction line number of the IBIS file F06 a corresponding to the line number, and the information of an error code in the storage section 30 as error logs about the monotonous increase/decrease error. The error code is a code showing the monotonous increase/decrease error.

[0136] In step SB16, the characteristic value checking section 80 reads an IBIS file from the storage section 30 one line by one line to check whether a current value crosses OA serving as a reference point according to a check table. The case of [GND_clamp] shown in FIG. 23 is described below in detail.

[0137] In this case, the characteristic value checking section 80 executes the reference point crosscheck process. Specifically, the characteristic value checking section 80 sequentially checks whether the current I (typ), current I (min), and current I (max) shown in FIG. 23 cross OA (reference point) in the direction from minimum voltage to maximum voltage.

[0138] In this case, because the current I (typ), current I (min), and current I (max) are all negative, a reference point crosscheck result is NG. In step SB17, the characteristic value error amendment creating section 90 determines whether the check result in step SB16 is OK and in this case, sets the determination result to “No”.

[0139] In step SB18, the characteristic value error correction plan creating section 90 applies an amendment of translating all current values so that I (typ)=−15.5969e-6 closest to 0A among the current values shown in FIG. 23 becomes 0 to the IBIS file F07 a for temporary correction shown in FIG. 24. Then, the characteristic value error amendment creating section 90 stores an error occurrence line number of the IBIS file F07, a temporary correction line number of the IBIS file F07 a for temporary correction corresponding to the line number, and the information of an error code in the storage section 30 as error log about the reference point cross error. The error code is a code showing the reference point cross error.

[0140] In step SA9 in FIG. 2, the controlling section 20 an IBIS file for temporary correction, an error log, and an IBIS file to be corrected to a check result display controlling section 110, a text display controlling section 120, and a graph display controlling section 130 from the storage section 30 as check result files.

[0141] In step SA10, the screen 310 (check result) shown in FIG. 25 is displayed on a display section 100 under controls by the check result display controlling section 110 and text display controlling section 120. Various check results above described are displayed on the screen 310. In step SA11, an amendment acceptance/rejection determining section 140 determines whether to accept or reject an amendment by making an operator check a check box of the screen 310 when accepting an amendment of the device.

[0142] In step SA12, a finally corrected IBIS output section 150 finally reflects an amendment checked by the operator on an IBIS file and outputs the corrected IBIS file. Thereby, the screen 300 showing the final correction result shown in FIG. 25 is displayed on the display section 100. Moreover, the screen 320 shown in FIG. 26 is also displayed on the display section 100 according to operator's operations.

[0143] An IBIS file to be corrected and a corrected IBIS file are simultaneously displayed on the screen 320 and thereby, it is possible to compare the both files. Moreover, the screen 330 shown in FIG. 27 is displayed on the display section 100 through operator's operations. An IBIS file to be corrected and a corrected IBIS file are displayed on the screen 330.

[0144] As described above, according to this embodiment, a device model is checked according to the check tables 200 and 210 and the like showing the relation between the description rule. (including syntax and keyword appearance frequency) of the device model and an amendment when deviating from the description rule and corrected according to the amendment when a description deviating from the description rule is checked. Therefore, it is possible to quickly and accurately check the description rule of a device model and correct a corresponding defective section without depending on the user skill.

[0145] Moreover, the data showing electrical characteristics of a device model are checked according to the electrical characteristic tables 210 and 220 and the like showing the relation between the normal electrical characteristic (characteristic value) of the device model and an amendment when deviating from the normal electrical characteristic and corrected according to a corresponding amendment when the data deviating from the electrical characteristics. Therefore, it is possible to quickly and accurately check the data about electrical characteristics of the device model and correct a corresponding defective section.

[0146] Moreover, a device model is corrected by interpolating the data included in the device model when the data deviating from the electrical characteristics (characteristic values) is present as shown in FIG. 18. Therefore, it is possible to correct the device model by effectively using existing data.

[0147] Furthermore, when the data deviating from electrical characteristics (characteristic values) is present, the device model is corrected by deleting the data. Therefore, it is possible to correct the device model by an extremely simple method.

[0148] Furthermore, the device model is corrected according to an amendment corrected and approved by an operator by using the screen 310 shown in FIG. 25. Therefore, it is possible to improve correction accuracy compared to the case of full automatic correction.

[0149] Furthermore, a device model to be corrected and a corrected device model are displayed for comparison according to the screen 320 shown in FIG. 26. Therefore, it is possible for an operator to clearly detect a correction section.

[0150] Furthermore, electrical characteristics (characteristic value) of a device model before correction and electrical characteristics (characteristic value) of a device model after correction are displayed for comparison through graphics on the screen 330 shown in FIG. 27. Therefore, it is possible for an operator to clearly and visually detect a correction section.

[0151] An embodiment of the present invention is described above in detail by referring to the accompanying drawings. A specific configuration is not limited to the above embodiment. Design modifications are included in the present invention as long as the modifications are not deviated from the summary of the present invention.

[0152] For example, in the case of the embodiment, it is also permitted to execute a series of processing about automatic correction of a device model by recording an automatic device model correcting program for realizing the function of the automatic device model correcting apparatus in the computer readable recording medium 500 shown in FIG. 28 and making the computer 400 shown in FIG. 28 read and execute the automatic device model correcting program recorded in the recording medium 500.

[0153] The computer 400 shown in FIG. 28 is constituted of a CPU 410 for executing the automatic device model correcting program, an input unit 420 including such as a keyboard and a mouse, a ROM (Read Only Memory) 430 for storing various data values, a RAM (Random Access Memory) 440 for storing operation parameters and the like, a reader 450 for reading an automatic device model correcting program from the recording medium 500, an output unit 460 including such as a display and a printer, and a bus BUS for connecting various sections.

[0154] The CPU 410 executes a series of processing about automatic correction of a device model described above by reading an automatic device model correcting program from the recording medium 500 via the reader 450 and then executing the program. The recording medium 500 includes not only portable recording media such as an optical disk, floppy disk, and hard disk but also a transmission medium for temporarily holding data such as a network.

[0155] As described above, according to one aspect of this invention, the description rule of a device model is checked according to a description rule table showing the relation between the description rule of the device model and an amendment when deviating from the description rule and corrected according to the amendment when a description deviating from the description rule is checked. Therefore, an advantage is obtained that it is possible to quickly and accurately check the data about electrical characteristics of a device model and correct a corresponding defective section.

[0156] Furthermore, the data showing electrical characteristics of a device model is checked according to an electrical characteristic table showing the relation between the normal electrical characteristic of the device model and an amendment when deviating from the normal electrical characteristic and corrected according to a corresponding amendment when data deviating from electrical characteristics is present. Therefore, an advantage is obtained that it is possible to quickly and accurately check the data about electrical characteristics of the device model and correct a corresponding defective section.

[0157] Furthermore, when the data deviating from an electrical characteristic is present in a step of checking electrical characteristic data, a device model is corrected by interpolating the data included in the device model. Therefore, an advantage is obtained that it is possible to correct the device model by effectively using existing data.

[0158] Furthermore, when the data deviating from an electrical characteristic is present in a step of checking electrical characteristic data, the device model is corrected by deleting the data. Therefore, an advantage is obtained that it is possible to correct the device model by an extremely simple method.

[0159] Furthermore, the device model is corrected according to an amendment corrected and approved by an operator. Therefore, an advantage is obtained that it is possible to improve correction accuracy compared to the case of full automatic correction.

[0160] Furthermore, a device model before correction and a device model after correction are displayed for comparison. Therefore, an advantage is obtained that an operator can clearly detect a correction section.

[0161] Furthermore, electrical characteristics of a device model before correction and electrical characteristics of a device model after correction are displayed for comparison. Therefore, an advantage is obtained that an operator can visually and clearly detect a correction section.

[0162] Although the invention has been described with respect to a specific embodiment for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art which fairly fall within the basic teaching herein set forth. 

What is claimed is:
 1. A computer program containing instructions which when executed on a computer realizes the steps of: checking the description rule of a device model according to a description rule table showing the relation between the description rule of a device model showing the electrical characteristic of a semiconductor device and an amendment when deviating from the description rule; and correcting the device model according to a corresponding amendment when a description deviating from the checked description rule.
 2. The computer program according to claim 1 containing instructions which when executed on a computer further realizes the steps of checking the data showing the electrical characteristic of the device model according to an electrical characteristic table showing the relation between the normal electrical characteristic of the device model and an amendment when deviating from the electrical characteristic is included, wherein the device model is corrected at the correction step according to a corresponding amendment when data deviating from the electrical characteristic is present in the electrical characteristic checking step.
 3. The computer program according to claim 2, wherein when data deviating from the electrical characteristic is present in the electrical characteristic checking step, a device model is corrected in the correcting step according to a corresponding amendment by interpolating the data included in the device model.
 4. The computer program according to claim 2, wherein when data deviating from the electrical characteristic is present in the electrical characteristic checking step, the device model is corrected in the correcting step by deleting the data.
 5. The computer program according to claim 1, wherein the device model is corrected in the correcting step according to an amendment correction approved by an operator.
 6. The computer program according to claim 1, wherein a device model displaying step of comparing and displaying a device model to be corrected and a corrected device model is included.
 7. The computer program according to claim 1, wherein an electrical characteristic displaying step of comparing and displaying the electrical characteristic of a device model to be corrected and that of a corrected device model through graphics is included.
 8. An automatic device model correcting apparatus comprising: a description rule checking unit which checks the description rule of a device model according to a description rule table showing the relation between the description rule of a device model showing the electrical characteristic of a semiconductor device and an amendment when deviating from the description rule; and a correcting unit which corrects the device model according to a corresponding correction plate when a description deviating from the description rule is checked by said description rule checking unit.
 9. An automatic device model correcting method comprising the steps of: checking the description rule of a device model according to a description rule table showing the relation between the description rule of a device model showing the electrical characteristic of a semiconductor device and an amendment when deviating from the description rule; and correcting the device model according to a corresponding amendment when a description deviating from the checked description rule. 